package iot.wlink.network.codec;

import iot.wlink.network.payload.down.DownPayload;

/**
 * @author : willian fu
 * @date : 2021/8/20
 * 编码器，把数据转换为设备需要的格式
 */
@FunctionalInterface
public interface MessageEncoder {

    byte[] encode(DownPayload payload);
}
